* {
	margin: 0;
	padding: 0;
}


a {
    text-decoration: none;
    color: black;
}

ul li {
    list-style-type: none;
}

a:hover {
    text-decoration: none;
    color: #e23435;
}

.ns-main {
    /* border: 1px solid red; */
    max-width: 1200px;
    margin: 0 auto;
}

.top-bar {
    height: 30px;
    background: #f2f2f2;
    line-height: 30px;
    width: 100%;
}

.top-bar-right-ul {
    float: right;
    padding-left: 9px;
    padding-right: 0px;
}

.top-bar-right-li {
    float: right;
}

.top-bar-right-li a:hover {
    color: #e23435;
}

.ns-header {
    /* border: 1px solid yellow; */
    margin-top: 80px;
    /* height: 140px; */
    padding-left: 0px;
    padding-right: 0px;
}

.ns-carts {
    float: right;
    margin-top: 10px;
}

.ns-nav {
    margin-top: 20px;
    padding-left: 0px;
    padding-right: 0px;
}

.ns-nav-btn {
    width: 100%;
    border-radius: 0px;
}

.site-header-nav {
    list-style-type: none;
}

.nav-item {
    float: left;
    margin: 0 8px;
}

.nav-item>a {
    display: inline-block;
    font-size: 16px;
    line-height: 38px;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    color: black;
}

.nav-item>a:hover {
    color: #e23435 !important;
}

.nav-item:hover .ns-border-color {
    border-color: #e23435 !important;
}

.nav-item:hover .ns-text-color {
    color: #e23435 !important;
}

/* 列表样式 */

.ns-list {
    margin-top: 50px;
    padding-right: 0px;
    padding-left: 0px;
    /* border: 1px solid yellow; */
}

.ns-list-item {
    height: 306px;
    border: 1px dashed black;
    padding: 5px;
    border-left: none;
}

.ns-list-item1 {
    border-left: 1px dashed black;
}

.p-img {
    width: 160px;
    margin: 0 auto;
    height: 160px;
    margin-top: 10px;
}

.p-img img {
    border-style: none;
    max-width: 100%;
    vertical-align: middle;
}

.p-name {
    width: 100%;
    text-align: center;
}

.p-price {
    width: 100%;
    overflow: hidden;
    text-align: center;
    color: #e23435 !important;
    margin-top: 20px;
}

.p-btn {
    text-align: center;
    margin-top: 15px;
}

.p-btn button {
    color: #e23435;
    border: 1px solid red !important;
}

.p-btn button:hover {
    background-color: white;
    color: #e23435;
}

/* 脚部部分 */

.ns-footer {
    margin-top: 50px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.ns-footer-item {
    text-align: center;
    /* height: 100px; */
    line-height: 100px;
}

.ns-footer-item p {
    font-size: 18px;
    /* padding: 20px 0px; */
}

.ns-footer-info {
    margin-top: 20px;
    text-align: center;
}

.ns-footer-info_a {
    text-decoration: none;
    color: black;
}

.ns-footer-info_a:hover {
    color: #e23435;
    text-decoration: none;
}

.ns-footer-img {
    margin-top: 20px;
    text-align: center;
    margin-bottom: 50px;
}

.ns-footer-img-item {
    margin-right: 5px;
}

.ns-footer-img-item img {
    width: auto;
    height: 26px;
}

.ns-footer-help {
    margin-top: 10px;
    padding: 5px 0px;
}

.ns-footer-help-right_name {
    text-align: center;
}

.ns-footer-help-right_img {
    margin-top: 20px;
}

.ns-footer-help-right_img img {
    width: 79px;
    height: 79px;
}

.ns-footer-help-item_ul {
    list-style-type: none;
    width: 100%;
    float: left;
    padding-left: 0px;
}

.ns-footer-help-item_li {
    float: left;
    padding: 5px 0px;
    width: 100%;
}

.ns-footer-help-item_li a {
    color: black;
}

.ns-footer-help-left_item {
    padding-left: 0px;
    padding-right: 0px;
    margin-right: 20px;
}

.ns-footer-help-left {
    padding-left: 0px;
    padding-right: 0px;
}

.help_first {
    height: 30px;
    line-height: 30px;
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 15px;
}

.ns-footer-links {
    margin-top: 20px;
    padding-left: 0px;
}

.ns-footer-links_title {
    font-weight: bold;
}

.ns-footer-links_item {
    margin-right: 20px;
    color: black;
}

.ns-footer-links_item:hover {
    color: #e23435;
}

/* 购物车 */

.cart-foot {
    overflow: hidden;
    height: 50px;
    line-height: 50px;
    border: 1px solid #e5e5e5;
    margin-top: 20px;
    padding-left: 0px;
    padding-right: 0px;
}

.foot-left {
    float: left;
}

.cart-check {
    float: left;
    margin-left: 9px;
}

.foot-left>a {
    margin-left: 8px;
    cursor: pointer;
}

.foot-left a:hover {
    color: #e23435;
}

.foot-right {
    float: right;
}

.cart-check>input {
    vertical-align: middle;
    margin: 0;
}

.settlement {
    display: inline-block;
    width: 70px;
    height: 35px;
    margin-right: 20px;
    line-height: 35px;
    text-align: center;
    color: #fff !important;
    font-size: 16px;
    cursor: pointer;
}

.total-price {
    display: inline-block;
    margin-right: 10px;
    font-weight: 900;
    font-size: 16px;
}

.ns-text-color {
    color: #e23435 !important;
}

.ns-bg-color {
    background-color: #e23435 !important;
}

/* table样式 */

.cart-head {
    height: 40px;
    border: 1px solid #e9e9e9;
    background-color: #f3f3f3;
    line-height: 40px;
}

.head-item {
    text-align: center;
    font-weight: normal;
}

.body-item {
    text-align: center;
    padding-top: 25px !important;
}

.item-pic-left {
    /* width: 80px;
    height: 80px;
    border: 1px solid #e5e5e5; */
    /* float: left; */
    float: left;
    margin-left: 33px;
    margin-top: 5px;
}

.item-pic-left img {
    width: 80px;
    height: 80px;
    border: 1px solid #e5e5e5;
    float: left;
    margin-right: 20px;
}

.item-pic-right {
    float: left;
    text-align: left;
}

.mark_cart {
    margin-top: 20px;
    overflow: hidden;
    display: inline-block;
    width: 330px;
    height: 30px;
    font-size: 12px;
    color: #898989 !important;
}

.checkboxopt {
    float: left;
}

.cart {
    margin-top: 70px;
}

.cart-body {
    padding-top: 20px;
}

.count {
    /* border: 1px solid #e5e5e5; */
    width: 166px;
    /* width: 100px; */
    float: left;
    margin-left: 23px;
}

.count>form {
    border: none;
    display: block;
    float: left;
    border: 1px solid #e5e5e5;
}

.count p {
    float: left;
    border: 1px solid #e5e5e5;
    border-left: none !important;
    border-right: none;
    padding: 1px 2px;
}

.reduce {
    width: 30px;
    background-color: rgba(255,255,255,0);
    border-right: 1px solid #e5e5e5 !important;
    margin-top: 15px;
}

.reduce-btn {
    /* display: none; */
    background-color: rgba(255,255,255,0);
    border: none;
}

.increase {
    /* width: 32px; */
    background-color: white !important;
    border: none;
    margin-top: 17px;
    /* border-left: 1px solid #e5e5e5 !important; */
}

/* 
#text_box :focus{
  border: none !important;
} */

.selectactive{
    background-color: rgba(226, 52, 53, 0.05) ;
}



/* 头部 */

